package 责任链模式.demo1;

public class BigDog extends Dog {

    public BigDog(int level, Dog dog) {
        this.level = level;
        this.nextDog = dog;
    }

    @Override
    public void print(String message) {
        System.out.println("Big Dog: " + message);
    }
}
